﻿using System;
using System.ComponentModel;
using System.Web.UI;

namespace Batik.Web.UI.Controls
{
    // Non-generic version of the control that's used in the actual markup.
    // It's also used in case the user didn't specify a generic constraint
    // in the tag markup.
    [System.Web.UI.ControlBuilder(typeof(Batik.Web.UI.Controls.TextBoxControlBuilder))]
    [ToolboxData("<{0}:TextBox runat=server></{0}:TextBox>")]
    public class TextBox : TextBox<object> 
    {
        /// <summary>
        /// Specify data type
        /// </summary>
        [Bindable(false), DefaultValue("String")]
        public DataType DataType { get; set; }

    }
}
